package cn.edu.sjtu.se.dslab.DAO;

import cn.edu.sjtu.se.dslab.component.method.MethodComponent;
import cn.edu.sjtu.se.dslab.exception.DBException;

public interface IMethodComponentDAO  extends IBaseDAO<Object> {
	
	/**
	 * 获取查询hql语句
	 * @return hql语句
	 */
	public String getAllHql();
	
	
	/**
	 * 	删除<BR>
	 * 	@param	数据集
	 * 	@throws	DBException
	 */
	public void delete(MethodComponent obj) throws DBException ;
	/**
	 * 修改系统用户信息
	 * @param bean
	 * @throws DBException
	 */
	public void update(MethodComponent bean) throws DBException;
	
	/**
	 * 根据id查找用户
	 * @param systemuserId
	 * @throws DBException
	 */
	public MethodComponent findMethodComponentById(Long methodComponentId) throws DBException;
}
